<?php /* Smarty version 2.6.18, created on 2010-08-30 11:13:55
         compiled from admin/alumni/career/frm_add.tpl */ ?>
<h2> Add job: </h2>
<form name="frmAddJob" id="frmAddJob" method="post" action="" enctype="multipart/form-data" onSubmit="return checkFrmAddJob('frmAddJob')">
<input type="hidden" name="action" id="action" value="add">
<table border="1" width="100%" cellpadding="2" cellspacing="1" bgcolor="#F0F0F0">
	<tr>
  	<td align="right" style="vertical-align:top; width:80px;">Position</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="position" name="position" size="100" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Company</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="company" name="company" size="100" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Address</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="address" name="address" size="100" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Location</td>
    <td align="left" style="vertical-align:top">
    	<select name="location_id" id="location_id">
      	<option value="-1"> -- Select Location -- </option>
        <?php $_from = $this->_tpl_vars['arrLocation']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameLoacation'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameLoacation']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyLocation'] => $this->_tpl_vars['itemLocation']):
        $this->_foreach['nameLoacation']['iteration']++;
?>
        	<option value="<?php echo $this->_tpl_vars['itemLocation']['id']; ?>
">&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['itemLocation']['location_name']; ?>
</option>
        <?php endforeach; endif; unset($_from); ?>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top; width:80px;">Industry</td>
    <td align="left" style="vertical-align:top">
    	<select name="industry_id" id="industry_id">
      	<option value="-1"> -- Select Industry -- </option>
        <?php $_from = $this->_tpl_vars['arrIndustry']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameIndustry'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameIndustry']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyIndustry'] => $this->_tpl_vars['itemIndustry']):
        $this->_foreach['nameIndustry']['iteration']++;
?>
        	<option value="<?php echo $this->_tpl_vars['itemIndustry']['id']; ?>
">&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['itemIndustry']['industry_name']; ?>
</option>
        <?php endforeach; endif; unset($_from); ?>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Gender</td>
    <td align="left" style="vertical-align:top">
    	<select name="gender" id="gender" style="width:120px;">
      	<option value="-1"> -- Select Gender -- </option>
        <option value="0"> &nbsp;&nbsp;&nbsp;Male </option>
        <option value="1"> &nbsp;&nbsp;&nbsp;Female </option>
        <option value="2"> &nbsp;&nbsp;&nbsp;Male/Female </option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Age</td>
    <td align="left" style="vertical-align:top">
    	from: <input type="text" id="age_from" name="age_from" size="10" />
      to: <input type="text" id="age_to" name="age_to" size="10" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Salary</td>
    <td align="left" style="vertical-align:top">
    	<div>
    	<select name="salary_unit" id="salary_unit" onChange="selectSalary(this.value)" style="width:120px;">
      	<option value="-1"> -- Select --</option>
        <option value="vn">&nbsp;&nbsp;&nbsp;VND</option>
        <option value="usd">&nbsp;&nbsp;&nbsp;USD</option>
        <option value="1">&nbsp;&nbsp;&nbsp;Negotiable</option>
        <option value="2">&nbsp;&nbsp;&nbsp;Competitive</option>
      </select>
      </div>
      <div style="display:none; margin-top:5px;" id="id_salary">
      	<input type="text" name="salary" id="salary" value="" size="10">
      </div>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Working mode</td>
    <td align="left" style="vertical-align:top">
    	<select name="working_mode" id="working_mode" style="width:120px;">
      	<option value="-1"> -- Select --</option>
        <option value="1">&nbsp;&nbsp;&nbsp;Full time</option>
        <option value="2">&nbsp;&nbsp;&nbsp;Part time</option>
        <option value="3">&nbsp;&nbsp;&nbsp;Internship</option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Experience</td>
    <td align="left" style="vertical-align:top">
    	<div>
    	<select name="experience_unit" id="experience_unit" onChange="selectExperience(this.value)" style="width:120px;">
      	<option value="-1"> -- Select --</option>
        <option value="0">&nbsp;&nbsp;&nbsp;Not yet</option>
        <option value="1">&nbsp;&nbsp;&nbsp;Year(s)</option>
      </select>
      </div>
      <div style="display:none; margin-top:5px;" id="id_experience">
      <input type="text" name="experience" id="experience" value="" size="5">
      </div>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Description</td>
    <td align="left" style="vertical-align:top">
    	<?php echo $this->_tpl_vars['fck_editor']; ?>

    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Expired date</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="expired" name="expired" size="15" readonly="readonly" />
      <a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.getElementById('expired'),null,null,null,[0,190,false]);return false;"> <img alt="calendar" src="<?php echo @APPLICATION_URL; ?>
public/images/icon_calendar.gif" align="top" border="0" height="17"> </a> 
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Status:</td>
    <td align="left" style="vertical-align:top">
    	<select name="status" id="status">
      	<option value="1">&nbsp;&nbsp;&nbsp;Yes</option>
        <option value="0">&nbsp;&nbsp;&nbsp;No</option>
      </select>
    </td>
  </tr>
  
  <tr>
  	<td align="right" style="vertical-align:top">&nbsp;</td>
    <td align="left" style="vertical-align:top">
    	<input type="submit" name="btnSubmit" id="btnSubmit" value="Save" />
    </td>
  </tr>
</table>
</form>
<div>
[<a href="javascript:backListJob()">&nbsp;Back&nbsp;</a>]
</div>